package cn.ys.base.controller;

import cn.ys.base.service.EchartsService;
import cn.ys.org.vo.ShopVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
* @Description: fastdfs接口层
* @Author: Mr.She
* @Version: 1.0
* @Date:  2022/5/17 10:13
*/
@RestController
@RequestMapping("/shop/echarts")
public class EchartsController {

    /**
    * @Title: upload
    * @Description: fastdfs文件上传接口
    * @Author: Mr.She
    * @Version: 1.0
    * @Date:  2022/5/17 10:37
    * @Parameters: * @param file
    * @Return cn.ys.basic.utils.AjaxResult
    */

    @Autowired
    private EchartsService echartsService;

    @GetMapping
    public ShopVo Echarts() {
        return echartsService.echarts();
    }
}